package org.melord.cap;

import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;

public class PopupShell extends Shell {

	/**
	 * Create the shell.
	 * 
	 * @param display
	 */
	public PopupShell(Shell parent, int style) {
		super(parent, style);
		createContents();
	}

	public PopupShell(Display display, int style) {
		super(display, style);
		createContents();
	}

	/**
	 * Create contents of the shell.
	 */
	protected void createContents() {

	}

	@Override
	protected void checkSubclass() {
		// Disable the check that prevents subclassing of SWT components
	}

}
